package com.startup.yellocar.service;
import java.util.*;
import org.springframework.transaction.annotation.Transactional;
import com.startup.yellocar.dto.UserDTO;
public interface UserService {

	@Transactional
	public void insert(UserDTO userDTO);

	@Transactional
	public void update(UserDTO userDTO);

	@Transactional
	public UserDTO get(int id); 

	@Transactional
	public List<UserDTO> getAll(); 

	@Transactional
	public void delete(UserDTO userDTO);

}
